Optimal. Leaf size=239 \[ -\frac {693 e^5}{128 (b d-a e)^6 \sqrt {d+e x}}-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}-\frac {33 e^2}{80 (b d-a e)^3 (a+b x)^3 \sqrt {d+e x}}+\frac {231 e^3}{320 (b d-a e)^4 (a+b x)^2 \sqrt {d+e x}}-\frac {231 e^4}{128 (b d-a e)^5 (a+b x) \sqrt {d+e x}}+\frac {693 \sqrt {b} e^5 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{128 (b d-a e)^{13/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 239, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 5, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {27, 44, 53, 65,
214} \begin {gather*} -\frac {693 e^5}{128 \sqrt {d+e x} (b d-a e)^6}+\frac {693 \sqrt {b} e^5 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{128 (b d-a e)^{13/2}}-\frac {231 e^4}{128 (a+b x) \sqrt {d+e x} (b d-a e)^5}+\frac {231 e^3}{320 (a+b x)^2 \sqrt {d+e x} (b d-a e)^4}-\frac {33 e^2}{80 (a+b x)^3 \sqrt {d+e x} (b d-a e)^3}+\frac {11 e}{40 (a+b x)^4 \sqrt {d+e x} (b d-a e)^2}-\frac {1}{5 (a+b x)^5 \sqrt {d+e x} (b d-a e)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 44
Rule 53
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(d+e x)^{3/2} \left (a^2+2 a b x+b^2 x^2\right )^3} \, dx &=\int \frac {1}{(a+b x)^6 (d+e x)^{3/2}} \, dx\\ &=-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}-\frac {(11 e) \int \frac {1}{(a+b x)^5 (d+e x)^{3/2}} \, dx}{10 (b d-a e)}\\ &=-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}+\frac {\left (99 e^2\right ) \int \frac {1}{(a+b x)^4 (d+e x)^{3/2}} \, dx}{80 (b d-a e)^2}\\ &=-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}-\frac {33 e^2}{80 (b d-a e)^3 (a+b x)^3 \sqrt {d+e x}}-\frac {\left (231 e^3\right ) \int \frac {1}{(a+b x)^3 (d+e x)^{3/2}} \, dx}{160 (b d-a e)^3}\\ &=-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}-\frac {33 e^2}{80 (b d-a e)^3 (a+b x)^3 \sqrt {d+e x}}+\frac {231 e^3}{320 (b d-a e)^4 (a+b x)^2 \sqrt {d+e x}}+\frac {\left (231 e^4\right ) \int \frac {1}{(a+b x)^2 (d+e x)^{3/2}} \, dx}{128 (b d-a e)^4}\\ &=-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}-\frac {33 e^2}{80 (b d-a e)^3 (a+b x)^3 \sqrt {d+e x}}+\frac {231 e^3}{320 (b d-a e)^4 (a+b x)^2 \sqrt {d+e x}}-\frac {231 e^4}{128 (b d-a e)^5 (a+b x) \sqrt {d+e x}}-\frac {\left (693 e^5\right ) \int \frac {1}{(a+b x) (d+e x)^{3/2}} \, dx}{256 (b d-a e)^5}\\ &=-\frac {693 e^5}{128 (b d-a e)^6 \sqrt {d+e x}}-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}-\frac {33 e^2}{80 (b d-a e)^3 (a+b x)^3 \sqrt {d+e x}}+\frac {231 e^3}{320 (b d-a e)^4 (a+b x)^2 \sqrt {d+e x}}-\frac {231 e^4}{128 (b d-a e)^5 (a+b x) \sqrt {d+e x}}-\frac {\left (693 b e^5\right ) \int \frac {1}{(a+b x) \sqrt {d+e x}} \, dx}{256 (b d-a e)^6}\\ &=-\frac {693 e^5}{128 (b d-a e)^6 \sqrt {d+e x}}-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}-\frac {33 e^2}{80 (b d-a e)^3 (a+b x)^3 \sqrt {d+e x}}+\frac {231 e^3}{320 (b d-a e)^4 (a+b x)^2 \sqrt {d+e x}}-\frac {231 e^4}{128 (b d-a e)^5 (a+b x) \sqrt {d+e x}}-\frac {\left (693 b e^4\right ) \text {Subst}\left (\int \frac {1}{a-\frac {b d}{e}+\frac {b x^2}{e}} \, dx,x,\sqrt {d+e x}\right )}{128 (b d-a e)^6}\\ &=-\frac {693 e^5}{128 (b d-a e)^6 \sqrt {d+e x}}-\frac {1}{5 (b d-a e) (a+b x)^5 \sqrt {d+e x}}+\frac {11 e}{40 (b d-a e)^2 (a+b x)^4 \sqrt {d+e x}}-\frac {33 e^2}{80 (b d-a e)^3 (a+b x)^3 \sqrt {d+e x}}+\frac {231 e^3}{320 (b d-a e)^4 (a+b x)^2 \sqrt {d+e x}}-\frac {231 e^4}{128 (b d-a e)^5 (a+b x) \sqrt {d+e x}}+\frac {693 \sqrt {b} e^5 \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {b d-a e}}\right )}{128 (b d-a e)^{13/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.54, size = 284, normalized size = 1.19 \begin {gather*} \frac {1}{640} \left (\frac {-1280 a^5 e^5-5 a^4 b e^4 (843 d+2123 e x)-10 a^3 b^2 e^3 \left (-359 d^2+968 d e x+2607 e^2 x^2\right )-2 a^2 b^3 e^2 \left (1124 d^3-2013 d^2 e x+5247 d e^2 x^2+14784 e^3 x^3\right )-2 a b^4 e \left (-408 d^4+616 d^3 e x-1089 d^2 e^2 x^2+2772 d e^3 x^3+8085 e^4 x^4\right )-b^5 \left (128 d^5-176 d^4 e x+264 d^3 e^2 x^2-462 d^2 e^3 x^3+1155 d e^4 x^4+3465 e^5 x^5\right )}{(b d-a e)^6 (a+b x)^5 \sqrt {d+e x}}-\frac {3465 \sqrt {b} e^5 \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {d+e x}}{\sqrt {-b d+a e}}\right )}{(-b d+a e)^{13/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.67, size = 270, normalized size = 1.13
method | result | size |
derivativedivides | \(2 e^{5} \left (-\frac {b \left (\frac {\frac {437 b^{4} \left (e x +d \right )^{\frac {9}{2}}}{256}+\frac {977 \left (a e -b d \right ) b^{3} \left (e x +d \right )^{\frac {7}{2}}}{128}+\left (\frac {131}{10} a^{2} b^{2} e^{2}-\frac {131}{5} a \,b^{3} d e +\frac {131}{10} b^{4} d^{2}\right ) \left (e x +d \right )^{\frac {5}{2}}+\left (\frac {1327}{128} a^{3} b \,e^{3}-\frac {3981}{128} a^{2} b^{2} d \,e^{2}+\frac {3981}{128} d^{2} e a \,b^{3}-\frac {1327}{128} b^{4} d^{3}\right ) \left (e x +d \right )^{\frac {3}{2}}+\left (\frac {843}{256} e^{4} a^{4}-\frac {843}{64} a^{3} b d \,e^{3}+\frac {2529}{128} a^{2} b^{2} d^{2} e^{2}-\frac {843}{64} a \,b^{3} d^{3} e +\frac {843}{256} b^{4} d^{4}\right ) \sqrt {e x +d}}{\left (\left (e x +d \right ) b +a e -b d \right )^{5}}+\frac {693 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right )}{256 \sqrt {b \left (a e -b d \right )}}\right )}{\left (a e -b d \right )^{6}}-\frac {1}{\left (a e -b d \right )^{6} \sqrt {e x +d}}\right )\) | \(270\) |
default | \(2 e^{5} \left (-\frac {b \left (\frac {\frac {437 b^{4} \left (e x +d \right )^{\frac {9}{2}}}{256}+\frac {977 \left (a e -b d \right ) b^{3} \left (e x +d \right )^{\frac {7}{2}}}{128}+\left (\frac {131}{10} a^{2} b^{2} e^{2}-\frac {131}{5} a \,b^{3} d e +\frac {131}{10} b^{4} d^{2}\right ) \left (e x +d \right )^{\frac {5}{2}}+\left (\frac {1327}{128} a^{3} b \,e^{3}-\frac {3981}{128} a^{2} b^{2} d \,e^{2}+\frac {3981}{128} d^{2} e a \,b^{3}-\frac {1327}{128} b^{4} d^{3}\right ) \left (e x +d \right )^{\frac {3}{2}}+\left (\frac {843}{256} e^{4} a^{4}-\frac {843}{64} a^{3} b d \,e^{3}+\frac {2529}{128} a^{2} b^{2} d^{2} e^{2}-\frac {843}{64} a \,b^{3} d^{3} e +\frac {843}{256} b^{4} d^{4}\right ) \sqrt {e x +d}}{\left (\left (e x +d \right ) b +a e -b d \right )^{5}}+\frac {693 \arctan \left (\frac {b \sqrt {e x +d}}{\sqrt {b \left (a e -b d \right )}}\right )}{256 \sqrt {b \left (a e -b d \right )}}\right )}{\left (a e -b d \right )^{6}}-\frac {1}{\left (a e -b d \right )^{6} \sqrt {e x +d}}\right )\) | \(270\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1114 vs.
\(2 (214) = 428\).
time = 2.77, size = 2239, normalized size = 9.37 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 571 vs.
\(2 (214) = 428\).
time = 2.19, size = 571, normalized size = 2.39 \begin {gather*} -\frac {693 \, b \arctan \left (\frac {\sqrt {x e + d} b}{\sqrt {-b^{2} d + a b e}}\right ) e^{5}}{128 \, {\left (b^{6} d^{6} - 6 \, a b^{5} d^{5} e + 15 \, a^{2} b^{4} d^{4} e^{2} - 20 \, a^{3} b^{3} d^{3} e^{3} + 15 \, a^{4} b^{2} d^{2} e^{4} - 6 \, a^{5} b d e^{5} + a^{6} e^{6}\right )} \sqrt {-b^{2} d + a b e}} - \frac {2 \, e^{5}}{{\left (b^{6} d^{6} - 6 \, a b^{5} d^{5} e + 15 \, a^{2} b^{4} d^{4} e^{2} - 20 \, a^{3} b^{3} d^{3} e^{3} + 15 \, a^{4} b^{2} d^{2} e^{4} - 6 \, a^{5} b d e^{5} + a^{6} e^{6}\right )} \sqrt {x e + d}} - \frac {2185 \, {\left (x e + d\right )}^{\frac {9}{2}} b^{5} e^{5} - 9770 \, {\left (x e + d\right )}^{\frac {7}{2}} b^{5} d e^{5} + 16768 \, {\left (x e + d\right )}^{\frac {5}{2}} b^{5} d^{2} e^{5} - 13270 \, {\left (x e + d\right )}^{\frac {3}{2}} b^{5} d^{3} e^{5} + 4215 \, \sqrt {x e + d} b^{5} d^{4} e^{5} + 9770 \, {\left (x e + d\right )}^{\frac {7}{2}} a b^{4} e^{6} - 33536 \, {\left (x e + d\right )}^{\frac {5}{2}} a b^{4} d e^{6} + 39810 \, {\left (x e + d\right )}^{\frac {3}{2}} a b^{4} d^{2} e^{6} - 16860 \, \sqrt {x e + d} a b^{4} d^{3} e^{6} + 16768 \, {\left (x e + d\right )}^{\frac {5}{2}} a^{2} b^{3} e^{7} - 39810 \, {\left (x e + d\right )}^{\frac {3}{2}} a^{2} b^{3} d e^{7} + 25290 \, \sqrt {x e + d} a^{2} b^{3} d^{2} e^{7} + 13270 \, {\left (x e + d\right )}^{\frac {3}{2}} a^{3} b^{2} e^{8} - 16860 \, \sqrt {x e + d} a^{3} b^{2} d e^{8} + 4215 \, \sqrt {x e + d} a^{4} b e^{9}}{640 \, {\left (b^{6} d^{6} - 6 \, a b^{5} d^{5} e + 15 \, a^{2} b^{4} d^{4} e^{2} - 20 \, a^{3} b^{3} d^{3} e^{3} + 15 \, a^{4} b^{2} d^{2} e^{4} - 6 \, a^{5} b d e^{5} + a^{6} e^{6}\right )} {\left ({\left (x e + d\right )} b - b d + a e\right )}^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.10, size = 515, normalized size = 2.15 \begin {gather*} -\frac {\frac {2\,e^5}{a\,e-b\,d}+\frac {2607\,b^2\,e^5\,{\left (d+e\,x\right )}^2}{64\,{\left (a\,e-b\,d\right )}^3}+\frac {231\,b^3\,e^5\,{\left (d+e\,x\right )}^3}{5\,{\left (a\,e-b\,d\right )}^4}+\frac {1617\,b^4\,e^5\,{\left (d+e\,x\right )}^4}{64\,{\left (a\,e-b\,d\right )}^5}+\frac {693\,b^5\,e^5\,{\left (d+e\,x\right )}^5}{128\,{\left (a\,e-b\,d\right )}^6}+\frac {2123\,b\,e^5\,\left (d+e\,x\right )}{128\,{\left (a\,e-b\,d\right )}^2}}{\sqrt {d+e\,x}\,\left (a^5\,e^5-5\,a^4\,b\,d\,e^4+10\,a^3\,b^2\,d^2\,e^3-10\,a^2\,b^3\,d^3\,e^2+5\,a\,b^4\,d^4\,e-b^5\,d^5\right )-{\left (d+e\,x\right )}^{5/2}\,\left (-10\,a^3\,b^2\,e^3+30\,a^2\,b^3\,d\,e^2-30\,a\,b^4\,d^2\,e+10\,b^5\,d^3\right )+{\left (d+e\,x\right )}^{3/2}\,\left (5\,a^4\,b\,e^4-20\,a^3\,b^2\,d\,e^3+30\,a^2\,b^3\,d^2\,e^2-20\,a\,b^4\,d^3\,e+5\,b^5\,d^4\right )+b^5\,{\left (d+e\,x\right )}^{11/2}-\left (5\,b^5\,d-5\,a\,b^4\,e\right )\,{\left (d+e\,x\right )}^{9/2}+{\left (d+e\,x\right )}^{7/2}\,\left (10\,a^2\,b^3\,e^2-20\,a\,b^4\,d\,e+10\,b^5\,d^2\right )}-\frac {693\,\sqrt {b}\,e^5\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {d+e\,x}\,\left (a^6\,e^6-6\,a^5\,b\,d\,e^5+15\,a^4\,b^2\,d^2\,e^4-20\,a^3\,b^3\,d^3\,e^3+15\,a^2\,b^4\,d^4\,e^2-6\,a\,b^5\,d^5\,e+b^6\,d^6\right )}{{\left (a\,e-b\,d\right )}^{13/2}}\right )}{128\,{\left (a\,e-b\,d\right )}^{13/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________